using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BISPOS.Report
{
    public class RProduct
    {
        public string Barcode { get; set; }
        public string Name { get; set; }
        public decimal UnitPrice
        {
            get;
            set;

        }
        public decimal UnitCost
        {
            get;
            set;
        }
        public double Quantity { get; set; }

        public decimal SumPrice
        {
            get
            {
                return Convert.ToDecimal(this.Quantity) * this.UnitPrice;
            }
        }
        public decimal SumCost
        {
            get
            {
                return UnitCost * Convert.ToDecimal(Quantity);
            }
        }

    }
}
